! function (a) {
    function b() {
        var b, c, e, i, f = a.document,
            g = f.documentElement,
            h = g.getBoundingClientRect().width;
        b || c || (i = !!a.navigator.appVersion.match(/AppleWebKit.*Mobile.*/), b = a.devicePixelRatio, e = a.devicePixelRatio,
            b = i ? b : 1, c = 1 / b), g.style.fontSize = h >= 640 ? "40px" : 320 >= h ? "20px" : 20 * (h /
            320) + "px"
    }
    a.addEventListener("resize", function () {
        b()
    }), b()
}(window);